package com.ie.mapper;

import com.ie.entity.Messages;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author admin
* @description 针对表【messages】的数据库操作Mapper
* @createDate 2025-03-02 22:16:12
* @Entity com.ie.entity.Messages
*/
public interface MessagesMapper extends BaseMapper<Messages> {

    List<Messages> getAllMessages();

    boolean deleteMessage(String id);

    boolean addMessage(String username, String message);
}




